import request from '@/utils/request'

// 查询东方财富板块成分列表
export function listDc_member(query) {
  return request({
    url: '/stock/dc_member/list',
    method: 'get',
    params: query
  })
}

// 查询东方财富板块成分详细
export function getDc_member(id) {
  return request({
    url: '/stock/dc_member/getById/' + id,
    method: 'get'
  })
}

// 新增东方财富板块成分
export function addDc_member(data) {
  return request({
    url: '/stock/dc_member/add',
    method: 'post',
    data: data
  })
}

// 修改东方财富板块成分
export function updateDc_member(data) {
  return request({
    url: '/stock/dc_member/update',
    method: 'put',
    data: data
  })
}

// 删除东方财富板块成分
export function delDc_member(id) {
  return request({
    url: '/stock/dc_member/delete/' + id,
    method: 'delete'
  })
}

// 导入东方财富板块成分
export function importDc_member(data) {
    return request({
      url: '/stock/dc_member/import',
      method: 'post',
      data: data
    })
}